package com.zhong.thesimpleconnection.action;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;

import com.hyphenate.easeui.ui.EaseChatFragment;
import com.zhong.thesimpleconnection.R;

public class ChatToChatActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_chat_to_chat);
        Bundle extras = getIntent().getExtras();
        EaseChatFragment fragment = new EaseChatFragment();
        fragment.setArguments(extras);
        getSupportFragmentManager().beginTransaction().add(R.id.ChatToChat_Fragment, fragment).commit();
    }
}
